package com.etc.repository.system;

import com.etc.entity.system.SysUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 登录持久层
 * */

@Repository
public interface LoginRepository extends JpaRepository<SysUser,String> {

    List<SysUser> findSysUserByLoginName (String loginName);
}
